<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改登记批次')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-bmsVoucherAssociate-edit" th:object="${bmsVoucherAssociate}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">柜员：</label>
                <div class="col-sm-8">
                    <input name="tltCode" th:field="*{tltCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">张数：</label>
                <div class="col-sm-8">
                    <input name="noteCount" th:field="*{noteCount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">提交员：</label>
                <div class="col-sm-8">
                    <input name="submitTltId" th:field="*{submitTltId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">交易日期：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        <input name="trDate" th:value="${#dates.format(bmsVoucherAssociate.trDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机构：</label>
                <div class="col-sm-8">
                    <input name="orgCode" th:field="*{orgCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">提交日期：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        <input name="submitTime" th:value="${#dates.format(bmsVoucherAssociate.submitTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">提交状态（0-保存 1-提交）：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="submitStatus" value="">
                        <label th:for="submitStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">行方接受状态（1-未接受 2-已接受）：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="inceptStatus" value="">
                        <label th:for="inceptStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">行方接受日期：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        <input name="inceptTime" th:value="${#dates.format(bmsVoucherAssociate.inceptTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">行方接受操作员：</label>
                <div class="col-sm-8">
                    <input name="inceptTltId" th:field="*{inceptTltId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">外方接受状态（1-未接受 2-已接受）：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="foreignInceptStatus" value="">
                        <label th:for="foreignInceptStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">外方接收操作员：</label>
                <div class="col-sm-8">
                    <input name="foreignInceptTltId" th:field="*{foreignInceptTltId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">外方接收时间：</label>
                <div class="col-sm-8">
                    <input name="foreignInceptTime" th:field="*{foreignInceptTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">包数：</label>
                <div class="col-sm-8">
                    <input name="packs" th:field="*{packs}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">包号：</label>
                <div class="col-sm-8">
                    <input name="packId" th:field="*{packId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">柜员编号：</label>
                <div class="col-sm-8">
                    <input name="tellerCode" th:field="*{tellerCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">分行机构号：</label>
                <div class="col-sm-8">
                    <input name="auditOrgCode" th:field="*{auditOrgCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">卡封锁号：</label>
                <div class="col-sm-8">
                    <input name="cardLockNum" th:field="*{cardLockNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">等级类型（1-正常等级 2-补登）：</label>
                <div class="col-sm-8">
                    <select name="be" class="form-control m-b" th:with="type=${@dict.getType('bms_voucher_type')}">
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{be}"></option>
                    </select>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script type="text/javascript">
        var prefix = ctx + "bms/bmsVoucherAssociate";
        $("#form-bmsVoucherAssociate-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-bmsVoucherAssociate-edit').serialize());
            }
        }

        $("input[name='trDate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='submitTime']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='inceptTime']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>